/*
 * @author java_deng
 * @date 2024/12/4 11:44
 * @description
 */
package org.kaka.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_post")
public class PostDto {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long imageId;
    private String title;
    @TableField("`desc`")
    private String desc;
    private Long userId;
    private Long bookId;
    private Integer likeCount;
    private Integer commentCount;
    private Integer categoryId;
    private Integer status;
}
